fc8b2b7a6790771c7638f3a83ec48f14ba6d4a11,core/baseLanguage/baseLanguage/source_gen/jetbrains/mps/baseLanguage/editor/BinaryOperation_RightArgument_Actions.java,BinaryOperation_RightArgument_Actions_DELETE,execute_internal,#EditorContext#SNode#,38

Before Change


      EditorComponent editor = editorContext.getNodeEditorComponent();
      EditorCell cell = editor.findNodeCell(leftExpression);
      EditorCell lastLeaf = cell.getLastLeaf(CellConditions.SELECTABLE);
      editor.changeSelection(lastLeaf);
      if (lastLeaf instanceof EditorCell_Label) {
        ((EditorCell_Label)lastLeaf).end();
      }

After Change


      editorContext.flushEvents();
      EditorComponent editor = editorContext.getNodeEditorComponent();
      EditorCell cell = editor.findNodeCell(leftExpression);
      if (cell != null) {
        EditorCell lastLeaf = cell.getLastLeaf(CellConditions.SELECTABLE);
        editor.changeSelection(lastLeaf);
        if (lastLeaf instanceof EditorCell_Label) {
          ((EditorCell_Label)lastLeaf).end();
        }